/***
Pre-Header and pre-header elements
***/
.pre-header {
    color: #616b76;
    border-bottom: 1px solid #eee;
    padding-top: 10px;
    line-height: 1.2;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    background: #fff;
}
.pre-header a {
    color: #616b76;
}
.pre-header a:hover {
    color: #E02222;
}
.pre-header a:focus {
    text-decoration: none;
}
.pre-header li {
    padding-left: 11px;
    padding-right: 15px;
    border-right: solid 1px #d8d8d8;
}
.pre-header li:last-child {
    border: none;
}


/*body{*/
/*    margin:0;*/
/*    font-size: 16px;*/
/*}*/
a{
    text-decoration: none;
    color:black;
}
header,main{
    width: 1150px;
    margin:0 auto;
}

nav{
    background-color: cadetblue;
    height: 40px;
    display: flex;
    position: relative;
    z-index: 50;
}
nav div{
    flex: 1;
    text-align: center;
    height: 40px;
    line-height: 40px;
}
nav ul{
    list-style-type: none;
    margin: 0;
    padding: 0;
    background-color: #dbedf5;
    display: none;
}
nav a{
    display: block;
}
nav div>a{
    color:white;
}
nav a:hover{
    color: white;
    background-color: #ff421c;
}
nav div:hover ul{
    display: block;
}
.diseases{
    width:1000px;
    margin: 30px auto;

}
.diseases legend{
    text-align: center;
}
.diseases img{
    width: 220px;
    height: 300px;
}
.diseases .group{
    display: flex;
    justify-content: center;
    margin: 20px 0;
}
.diseases .group div{
    margin-right: 30px;
}

.diseases .group .detail{
    width: 220px;
    height: 300px;
    background-color: rgba(220,220,220,0.5);
    text-align: center;
    line-height:300px ;
    position: absolute;
    top:0;
    left: 0;
    display: none;
}
.diseases .group .detail a{
    color: white;
    display: block;
}
.diseases .group .disease{
    position: relative;
}
.diseases .group .disease:hover .detail{
    display: block;
}
.question{
    width: 40px;
    background-color: #dbedf5;
    text-align: center;
    font-size: 14px;
    padding: 8px 0;
    position: fixed;
    right: 0;
    bottom: 100px;
}
.question .question_mark{
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    border:solid 1px #333333;
    border-radius: 50%;
    margin: 0 auto 5px auto;
}




.tests{
    width:1000px;
    margin: 30px auto;

}

.tests legend{
    text-align: center;
}

.tests .group .b{
    font-size: 13px;
    text-align: right;
}